import request from '@/utils/request'

/* 根据项目查询楼栋的统计数据 */
export function projectOverall(query) {
  return request({
    url: '/gcxt/schedule/projectOverall',
    method: 'post',
    timeout: 0,
    data: query
  })
}

/* 获取平面图的验收、报验情况 */
export function getBuildingView(query) {
  return request({
    url: '/gcxt/schedule/getBuildingView',
    method: 'get',
    timeout: 0,
    params: query
  })
}

/* 获取平面图的验收、报验情况 */
export function getSingleProgress(query) {
  return request({
    url: '/gcxt/schedule/getSingleProgress',
    method: 'get',
    timeout: 0,
    params: query
  })
}

/* 获取平面图的验收、报验情况 */
export function getBuildingPlan(query) {
  return request({
    url: '/gcxt/schedule/getBuildingPlan',
    method: 'get',
    timeout: 0,
    params: query
  })
}

/* 获取平面图的验收、报验情况 */
export function getSpecialType(query) {
  return request({
    url: '/mobile/common/specialType',
    method: 'post',
    timeout: 0,
    data: query
  })
}

/* 获取基础工程报验情况 */
export function getBuildingBeState(query) {
  return request({
    url: '/gcxt/schedule/getBuildingBeState',
    method: 'get',
    timeout: 0,
    params: query
  })
}
